@extends('layouts.default')

@section('content')
<div class="box">
	<h2>Inscription</h2>
	
	{{ Form::open(array('route' => 'register', 'method' => 'post', 'id' => 'register-form')) }}
		<div class="form-group">
			{{ Form::label('username', "Nom d'utilisateur") }}
			{{ Form::text('username', null, array('id' => 'username','placeholder' => 'Nom d\'utilisateur', 'class' => 'form-control')) }}
			{{ $errors->first('username') }}
		</div>
		<div class="form-group">
			{{ Form::label('passwd', "Mot de passe") }}
			{{ Form::password('passwd', array('id' => 'passwd','placeholder' => 'Mot de passe', 'class' => 'form-control')) }}
			{{ $errors->first('passwd') }}
		</div>
		<div class="form-group">
			{{ Form::label('passwd-confirm', "Confirmer le mot de passe") }}
			{{ Form::password('passwd-confirm', array('id' => 'passwd-confirm','placeholder' => 'Confirmer mot de passe', 'class' => 'form-control')) }}
			{{ $errors->first('passwd-confirm') }}
		</div>
		<div class="form-group">
			{{ Form::label('email', "Adresse e-mail") }}
			{{ Form::text('email', null, array('id' => 'email','placeholder' => 'Adresse e-mail', 'class' => 'form-control')) }}
			{{ $errors->first('email') }}
		</div>
		<div class="form-group">
			{{ Form::label('email-confirm', "Confirmer l'adresse e-mail") }}
			{{ Form::text('email-confirm', null, array('id' => 'email-confirm','placeholder' => 'Confirmer adresse e-mail', 'class' => 'form-control')) }}
			{{ $errors->first('email-confirm') }}
		</div>
		{{ Form::submit('Inscription', array('class' => 'btn btn-default')) }}
	{{ Form::close() }}
</div>
@stop